package com.deyuanyun.pic.pbf.service.impl;


import com.deyuanyun.pic.pbf.domain.RepairComposites;
import com.deyuanyun.pic.pbf.mapper.RepairCompositesMapper;
import com.deyuanyun.pic.pbf.service.RepairCompositesService;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RepairCompositesServiceImpl implements RepairCompositesService {
    @Autowired
    private RepairCompositesMapper repairCompositesMapper;

    private static final Logger logger = LoggerFactory.getLogger(RepairCompositesServiceImpl.class);

    public RepairComposites selectByPrimaryKey(String id) {
        return this.repairCompositesMapper.selectByPrimaryKey(id);
    }

    public int deleteByPrimaryKey(String id) {
        return this.repairCompositesMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(RepairComposites record) {
        return this.repairCompositesMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(RepairComposites record) {
        return this.repairCompositesMapper.updateByPrimaryKey(record);
    }

    public int insert(RepairComposites record) {
        return this.repairCompositesMapper.insert(record);
    }

    @Override
    public int insertSelective(RepairComposites composites) {
        return this.repairCompositesMapper.insertSelective(composites);
    }
}